package cn.cdeden.knowledge.domain.dto;

//import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.*;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
* @author Yu.
* @date 2022-10-25
*/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class FilesLabelRecordDto implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

//    @ApiModelProperty(value = "标签编号")
    @NotNull(message = "标签编号,不得为空")
    private Long labelId;

//    @ApiModelProperty(value = "团队编号")
    private String teamId;

//    @ApiModelProperty(value = "文件树id")
    @NotNull(message = "标签编号,不得为空")
    private Long fileId;

//    @ApiModelProperty(value = "文件类型")
    @NotEmpty(message = "文件类型,不得为空")
    private String fileType;



//    @ApiModelProperty(value = "拥有者编号")
    private String createId;

//    @ApiModelProperty(value = "创建者")
    private String createBy;

//    @ApiModelProperty(value = "创建日期")
    private Date createTime;

    private String libraryId;
}
